package com.china.lottery.listener.task.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.china.lottery.listener.dao.AgentConfigDao;
import com.china.lottery.listener.dao.PayAccountDao;
import com.china.lottery.listener.task.core.BaseNoteService;


@Component("agentNoteService")
public class AgentNoteService extends BaseNoteService {

	@Autowired
	private AgentConfigDao agentConfigDao;
	@Autowired
	private PayAccountDao payaccountdao;
	@Override
	public List<String> getNumbers() {

		return null;
	}

	@Override
	public String getContent() {
//		ArrayList<LAgentConfig> agentConfigList = (ArrayList<LAgentConfig>) agentConfigDao.queryValideAgent();
//		for (LAgentConfig lAgentConfig : agentConfigList) {
//			String balanceMobile = lAgentConfig.getBalanceMobile();
//			String balanceQuota = lAgentConfig.getBalanceQuota();
//			int balanceStatus = lAgentConfig.getBalanceStatus();
//			String[] balanceQuotaArray = balanceQuota.split(",");
//			if (balanceStatus+1 > balanceQuotaArray.length) {
//				continue;
//			}
//			int agentBanlanceQuota = Integer.valueOf(balanceQuotaArray[balanceStatus]);
//			Double zccountHis = payaccountdao.unCommitHis(lAgentConfig.getAgentId());
//			Double banlance = payaccountdao.banlanceQuery(lAgentConfig.getAgentId());
//			Double agentBanlance = zccountHis + banlance;
//		}
		return "";
	}
	public static void main(String[] args) {
		int [] str = {123,12,1};
		System.out.println(str.length);
	}
}
